package com.zhongkai;

public class MessageTool {

    public static final String Facility_ip = "facility_ip&"; //app 控制设备的数据头
    public static final String DEVICE_OK = "device_ok"; //成功向设备发送控制信息
    public static final String DEVICE_UP = "UP"; //设备控制命令 开机
    public static final String DEVICE_OP = "OP"; //设备控制命令 关机
    public static final String DEVICE_MT = "MT:"; //设备控制命令 修改温度
    public static final String DEVICE_SU = "SU"; //设备控制命令
    public static final String DEVICE_A1 = "A1"; //设备连接服务器后 服务器返回的认证消息
    public static final String DEVICE_B1 = "B1"; //设备请求升级文件长度
    public static final String DEVICE_B2 = "B2:"; //服务器返回文件长度的信息头
    public static final String DEVICE_B3 = "B3"; //请求升级文件
    public static final String DEVICE_B4 = "B4"; //请求升级文件2
    public static final String DEVICE_C1 = "C1"; //询问服务器系统版本
    public static final String DEVICE_C2 = "C2"; //询问服务器文件长度
    public static final String DEVICE_C3 = "C3"; //下载系统最新文文件
    public static final String DEVICE_CC = "CC"; //控制设备进行升级操作
    public static final String DEFAULT_IP = "127.0.0.1";
    // public static String VER = "SystemVersions:未设置默认版本";

    public static StringBuilder VER_SER = new StringBuilder("SystemVersions:null");

    public static final String UNIT_CON = "UnitControlBean:"; //控制设备
    public static final String UNIT_UPDATE = "Update:"; //设备升级结果
    public static final String UNIT_BIG = "BigUnitBean:"; //实时大数据
    public static final String UNIT_BOUND = "BoundBean:"; ///tomcat返回给设备数据
    public static final String UNIT_START = "UnitStartBean:"; //设备启动
    public static final String UNIT_UPDE = "UpgradeBean:"; //设备开始升级
    public static final String FWEB_DATE = "WebSocketIndBean:"; //设备开始升级
    public static final String UNITIDIP = "UNITIDIP&"; //服务器查询设备参数
    public static final String UNDATE = "UNDATE&"; //服务器查询设备参数
    public static final String UNITIDIP_400 = "UNITIDIP:400"; //服务器查询设备参数
    public static final String UNITIDIP_200 = "UNITIDIP:200"; //服务器查询设备参数
    public static final String PW = "PW:"; //设备返回当前密码
    public static final String UN = "UN:"; //设备返回当前开关量
    public static final String TM = "TM:"; //设备返回系统温差 以及压力值
    public static final String BIG_SKY = "BIG_SKY"; //netty监听的消息通道
    public static final String NETTY_SKY = "NETTY_SKY"; //tomcat监听的netty消息通道
    public static final String UNIT_SKY = "UNIT_SKY"; //tomcat监听的netty的实时消息通道
    public static final String HAND_REMOVED = "handlerRemoved:"; //tomcat监听的netty消息通道
    // public static final String UNIT_UPDATE = "Update:"; //设备开始升级
    public static final String WEN_KU = "WEN_KU&"; //IM上线消息

    public static final String D_1001 = "1001"; //运行数据上传
}
